<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>跨域传参</title>
</head>
<body>
    <div>跨域传参</div>
    <div id="mstr_ck"></div>
</body>
<script src="static/jquery/jquery-1.9.1.js"></script>
<script type="text/javascript">
    $.ajax({
        url: 'http://localhost:8089/login/V100/getNeteaseMessage',
        type: 'post',
        dataType:'jsonp',
        jsonp: "callback",
        data: {
            "type":'0',
            "mobile":'15529617153'
        },
        success:function(data){
            alert(data.uid)
            alert(data.uid)
        },
        error:function(data){
            $('#mstr_ck').html("获取验证码失败，请重试！");
        }
    });
</script>
</html>